package com.bajiao.vo.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("ProductResponse")
public class ProductResponse {

    @ApiModelProperty(value = "产品id")
    private String id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "封面")
    private String cover;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "产品介绍")
    private String intro;

    @ApiModelProperty(value = "销量")
    private Long sales;

    @ApiModelProperty(value = "购买数量")
    private Integer buyNum;

    @ApiModelProperty("购物车id")
    private String cartId;
}
